package com.rsy.springboot2gitrepository;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class Springboot2GitRepositoryApplication {

    public static void main(String[] args) {
        SpringApplication.run(Springboot2GitRepositoryApplication.class, args);
    }

    @RequestMapping(value = "hi/{name}")
    public String hi(@PathVariable("name") String name){
        System.out.println("repository--->" + name);
        return "helee--->123" + name;
    }
}
